home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #14
/
Monster Media No. 14 (April 1996) (Monster Media, Inc.).ISO
/
maximus
/
stbar110.zip
/
STARHLP.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1996-02-18
|
1KB
|
39 lines
@echo off
rem StarBar helper OS/2 CMD file by fvu (2:292/600@fidonet.org), 14/11/95 00:19
rem ========================================================================
rem usage :
rem Necessary parameters :
rem first parameter : starbar work path
rem second parameter : File to be examined
rem third parameter : Task number for creating a "task-specific" descfile.
rem ========================================================================
rem Here we go!
rem
rem
rem DO NOT FORGET TO SWITCH TO THE CORRECT STARBAR WORK DRIVE/DIR HERE!!!
rem
cd \max\starbar
del descfile.%3
call acle %2 file_id.diz
if not exist file_id.diz goto nodiz
rem diz found, let's rename it!
ren %1file_id.diz descfile.%3
goto end
:nodiz
call acl %2 sdn.id
if not exist %1sdn.id goto nosdn
ren %1sdn.id descfile.%3
goto end
:nosdn
echo StarBar 1.10 was unable to extract more information > %1descfile.%3
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> %1descfile.%3
echo No commonly used descriptor file could be found inside this archive >> %1descfile.%3
echo Or the file is in a compressed format that's not (yet) supported by >> %1descfile.%3
echo StarBar!. >> %1descfile.%3
echo Or, the file isn't compressed at all. Please check. >> %1descfile.%3
goto end
:usage
echo !!!This batchfile should be used by starbar only!!!
echo No user serviceable parts inside ;-) ;-)
:end